HoTMetaL PRO 6.0 Customization Samples

The files in the Samples folder show how to use HoTMetaL COM interfaces to customize the editor and extend its functionality.

All scripts are written in JavaScript. They can be added as components to the hotmetal.mcr macro file that resides in the Macros folder where HoTMetaL is installed. You can add these scripts to your hotmetal.mcr file and start using them right away, as long as you don't do that in such a way as to end up with different macros having the same name. For example, several scripts need code to be placed in On_Application_Open. To use more than one of these scripts, be sure to combine the relevant code into a single On_Application_Open.

Scripts

C++ Program

Complete source code is provided for an example which shows how to extend HoTMetaL using an external programming language that supports COM. A Microsoft Visual C++ 5.0 project is provided in the folder Programming Samples\C++\DocTree\Source in the HoTMetaL application folder.